<template>
  <div class="process-create-wrap">
    <ListTab v-model="activeId" :show-header="true" :tabs="tabList" />
    <process-create-module v-show="activeId === 0" />
    <process-advance-set v-show="activeId === 1" />
  </div>
</template>
<script>
import ListTab from '@/components/ListTab';
import ProcessCreateModule from './model/processCreate';
import ProcessAdvanceSet from './model/processAdvanceSet';
export default {
  components: {
    ListTab,
    ProcessCreateModule,
    ProcessAdvanceSet
  },
  data() {
    return {
      activeId: 0,
      processId: '',
      tabList: [{
        id: 0,
        name: '流程设计'
      }, {
        id: 1,
        name: '高级设置'
      }]
    };
  }
};
</script>
